<?php 
class indexClassAction extends ActionPlat
{
	
	public function defaultAction()
	{
		
	}
	
	public function totalAction()
	{
		$day = $this->date;
		$loginjl = m('logintoken')->rows("`moddt` like '".$day."%'");
		$log = m('log')->rows("`adddt` like '".$day."%'");
		
		return array(
			'ushu' => m('users')->rows('1=1'),
			'cshu' => m('company')->rows('1=1'),
			'loginjl' => $loginjl,
			'log' => $log,
		);
	}
}